package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 服务商品扩展表
 * </p>
 *
 * @author chenxuebin
 * @since 2018-08-01
 */
@TableName("t_goods_ext")
public class GoodsExt extends Model<GoodsExt> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long gid;

    /**
     * 服务开始时间
     */
	@TableField("start_time")
	private String startTime;

    /**
     * 服务结束时间
     */
	@TableField("end_time")
	private String endTime;

    /**
     * 打烊日期休息日期，周一到周日，多个用分割线隔开：6-7
     */
	private String restday;
    /**
     * 服务说明
     */
	private String info;
    /**
     * 服务必选项1
     */
	@TableField("required_one")
	private String requiredOne;
    /**
     * 服务必选项2
     */
	@TableField("required_two")
	private String requiredTwo;
    /**
     * 服务必选项3
     */
	@TableField("required_three")
	private String requiredThree;
    /**
     * 服务可选项1
     */
	@TableField("optional_one")
	private String optionalOne;
    /**
     * 服务可选项2
     */
	@TableField("optional_two")
	private String optionalTwo;
    /**
     * 服务可选项3
     */
	@TableField("optional_three")
	private String optionalThree;
	private int state;
	private Long mid;
	private Long uid;
	private Long mpid;
	private Long modifier;
	private Date createtime;
	private Date modifytime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getRestday() {
		return restday;
	}

	public void setRestday(String restday) {
		this.restday = restday;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getRequiredOne() {
		return requiredOne;
	}

	public void setRequiredOne(String requiredOne) {
		this.requiredOne = requiredOne;
	}

	public String getRequiredTwo() {
		return requiredTwo;
	}

	public void setRequiredTwo(String requiredTwo) {
		this.requiredTwo = requiredTwo;
	}

	public String getRequiredThree() {
		return requiredThree;
	}

	public void setRequiredThree(String requiredThree) {
		this.requiredThree = requiredThree;
	}

	public String getOptionalOne() {
		return optionalOne;
	}

	public void setOptionalOne(String optionalOne) {
		this.optionalOne = optionalOne;
	}

	public String getOptionalTwo() {
		return optionalTwo;
	}

	public void setOptionalTwo(String optionalTwo) {
		this.optionalTwo = optionalTwo;
	}

	public String getOptionalThree() {
		return optionalThree;
	}

	public void setOptionalThree(String optionalThree) {
		this.optionalThree = optionalThree;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "GoodsExt{" +
			"id=" + id +
			", gid=" + gid +
			", startTime=" + startTime +
			", endTime=" + endTime +
			", restday=" + restday +
			", info=" + info +
			", requiredOne=" + requiredOne +
			", requiredTwo=" + requiredTwo +
			", requiredThree=" + requiredThree +
			", optionalOne=" + optionalOne +
			", optionalTwo=" + optionalTwo +
			", optionalThree=" + optionalThree +
			", mid=" + mid +
			", mpid=" + mpid +
			", uid=" + uid +
			", createtime=" + createtime +
			", modifytime=" + modifytime +
			"}";
	}
}
